In [1]:
import context
import gopro_helper as gopro

In [23]:
gopro.network.scan()


Out[23]:
['306            : 29',
 'BlueBalloon    : 85',
 'Cocea@Mpk      : 49',
 'Ehrlich-ext    : 40',
 'GreenCanoe     : 84',
 'HighFive       : 89',
 "Tanooba's Gomartz: 42",
 'TG1672GF2      : 37']

In [20]:
gopro.network.current_connection()


Out[20]:
'GreenCanoe'

Change WiFi connection to/from GoPro


In [24]:
ssid = 'GP26528824'
# ssid = 'GreenCanoe'

In [26]:
gopro.network.connect_wifi(ssid)


disconnected  [new_activation]
config
need_auth
config
ip_config
activated
connected: GP26528824

In [ ]:


In [ ]:

Lots and lots of connection details


In [4]:
gopro.network.display_connection_details()


Active connection: GreenCanoe (on wlp4s0)
   802-11-wireless
      ssid                       GreenCanoe
      mode                       infrastructure
      mac-address                E4:B3:18:66:1B:42
      mac-address-blacklist      []
      seen-bssids                ['70:3A:CB:1E:C4:F5', '70:3A:CB:1E:D8:18', '70:3A:CB:1E:CB:3B', '70:3A:CB:1E:C4:F9', '70:3A:CB:1E:D8:14']
      security                   802-11-wireless-security
   802-11-wireless-security
      key-mgmt                   wpa-psk
      auth-alg                   open
      proto                      []
      pairwise                   []
      group                      []
   connection
      id                         GreenCanoe
      uuid                       a3f5174b-23df-4766-a5b3-c99488a22763
      type                       802-11-wireless
      permissions                []
      timestamp                  1498342715
      secondaries                []
   ipv4
      method                     auto
      dns                        []
      dns-search                 []
      addresses                  []
      routes                     []
      address-data               []
      route-data                 []
   ipv6
      method                     auto
      dns                        []
      dns-search                 []
      addresses                  []
      routes                     []
      address-data               []
      route-data                 []
Device: wlp4s0
   Type             wifi
   MAC address      E4:B3:18:66:1B:42
   IPv4 config
      Addresses
         192.168.86.100/24 -> 192.168.86.1
      Routes
         169.254.0.0/16 -> 0.0.0.0 (1000)
      Nameservers
         192.168.86.1

In [ ]:


In [ ]:


In [ ]: